import Taro, {Component} from '@tarojs/taro'
import {WebView,View} from '@tarojs/components'
class webview extends Component{
  constructor(props)
  {
    super(props);
    this.state={
      url:""
    }
  }

  componentDidShow()
  {
    this.setState({
    //  url:decodeURI(this.$router.params.url)
      url:'http://elux.xuanke3d.com/apps/elux/?name=EHN211ES&from=singlemessage&isappinstalled=0'
    })


  }

  render()
  {
    return(
      <View>
      {this.state.url&&<WebView src={this.state.url}>

      </WebView>}
      </View>
    )
  }

}